package bdz.projects.inl.vo
{
	import bdz.projects.inl.core.CoreVO;

	public class ProductTypeVO extends CoreVO
	{
		[Bindable]
		public var product_types_id:String;
		[Bindable]
		public var type:String;
		[Bindable]
		public var group:String;
		
		
		public function ProductTypeVO(def:XML=null)
		{
			idField = "product_types_id";
			propList = ["product_types_id", "type", "group"];
			if(def && def.name() != "inl_product_types"){
				def = def.inl_product_types[0];	
			}
			super(def, null, "inl_product_types");
		}
		override protected function createPropertyAttributes():void{
			propAttributes = [
			{name:"type", type:"input", label:"Product Type"},
			{name:"group", type:"stepper", label:"Product Group"}
			];
		}
		
	}
}